docs: gtknotebook.c: Use accessor functions to access GtkSelectionData
authorJavier Jardón <jjardon@gnome.org>
Thu, 16 Dec 2010 00:16:00 +0000 (00:16 +0000)
committerJavier Jardón <jjardon@gnome.org>
Thu, 16 Dec 2010 00:16:00 +0000 (00:16 +0000)
gtk/gtknotebook.c

index 8c4de6577f1731f5a1f5367b9236cf0f1f7e79ca..df0383d78f3137ad94c9fa4838ae5c6aed1f0034 100644 (file)
@@ -8116,8 +8116,8 @@ gtk_notebook_get_tab_detachable (GtkNotebook *notebook,
  *    GtkWidget **child;
  *    
  *    notebook = gtk_drag_get_source_widget (context);
- *    child = (void*) selection_data->data;
- *    
+ *    child = (void*) gtk_selection_data_get_data (selection_data);
+ *
  *    process_widget (*child);
  *    gtk_container_remove (GTK_CONTAINER (notebook), *child);
  *  }